<?php

namespace App\Admin\Controller;

class Upload extends Base {
    
    /**
     * 上传文件分目录存储
     *
     * @var array 字符串数组
     */
    protected $dirs = [
        'cms/article',
        'cms/ads',
        'cms/banner',
        'cms/column/thumb',
        'cms/column/banner',
        'cms/event',
        'cms/friend',
    ];
    
    use \App\Upload;
    
    public function init() {
        
        parent::init();
        
        $this->imgMaxWidth = 750;
        $this->imgMaxHeight = 1200;
    }
}
